{template "content","header"}  
<script type="text/javascript">
    $(document).ready(function(){
        $("a[ref='box']").foxibox();
    });
</script>
<div class="bg-wrap">
        <div class="center-wrap">
            <div class="topic">
                
            </div><!-- / -->
            <div class="donghua">
                 
                <div class="player-container">
                    <div class="pic-preview" >
                        <img src=""  id="imgViewer" alt="">
                    </div><!-- / -->
                    <object style="z-index:-1;" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="956"  height="310"> 
                    <param name="movie" value="{IMG_PATH}yrrs_swf/1.swf" /> 
                    <param name="wmode" value="Opaque">
                    <!--[if !IE]>--> 
                    <!-- 获取首页动画展示的flash和5张图片 -->
                    {pc:content action="lists" catid="26" order="id DESC" num="1" moreinfo="1"}
                        <?php
                            $flash_arr = $data[1]['flash'];//此处1为id号
                            eval("\$flash_arr1 = ".$flash_arr.'; ');
                            $flash_url = $flash_arr1[0]['fileurl'];
                            $image = $data[1]['image'];
                            eval("\$image_url = ".$image.'; ');
                        ?>
                    {/pc}
                    <object type="application/x-shockwave-flash" data="{$flash_url}" width="956" height="310">
                    <param name="wmode" value="Opaque"> 
                    <!--<![endif]--> 
                    <p>Alternative content</p> 
                    <!--[if !IE]>--> 
                    </object> 
                    <!--<![endif]--> 
                    </object> 
                </div><!-- / -->
                <div class="title-bar" id="donghua-bar"></div> 
                <div class="pic-container">
                   
                    <div class="pic-content">
                        <ul class="thumb">
                            {loop $image_url $k $v}
                            <li>
                                <a href="{$v['url']}" ref="box" title="">
                                    <img src="{$v['url']}" alt="">
                                </a>
                            </li>
                            {/loop}
                        </ul><!-- / -->
                    </div><!-- / -->
                    
                </div><!-- / -->
            </div>
                <div class="passage-container">
                    <div class="box-container">
                        {loop subcat(0,0,0,$siteid) $r}
                        {php $num++}
                        <?php if($num>4) break; ?>
                        <div class="box">
                            {if $num<3}
                            <div class="title-bar" id="yrs{$num}">
                            {/if}
                            {if $num>=3}
                            {php $num=$num-2}
                            <div class="title-bar" id="rrs{$num}">
                            {php $num=$num+2}
                            {/if}
                            </div><!-- / -->
                            <p class="title">{$r[catname]}</p>
                            <ul>
                            {pc:content action="category" catid="$r[catid]" num="15" siteid="$siteid" order="listorder ASC"}
                                {loop $data $c}
                                <li><a href="{$c[url]}" title="">{$c[catname]}</a></li>
                                {/loop}
                            {/pc}
                            </ul><!-- / -->
                        </div><!-- / -->
                        {/loop}
                    </div>

                    <div class="news-container">
                        <div class="news-box">
                            <div class="title-bar" id="news-bar"></div><!-- / -->
                                <ul><!-- 最多七篇文章 -->
                                {pc:content action="newcontent" order="`inputtime` DESC"  catid="6,7,8,9" number="7"}
                                    {loop $data $r}
                                    <li><a href="{$r[url]}" title=""><p>{str_cut($r[title],75,'......')}</p><p>{date('Y/m/d',$r[inputtime])}</p></a></li>
                                    {/loop}
                                {/pc}
                                </ul>

                               
                            
                        </div><!-- / -->
                    </div><!-- / -->
                </div><!-- / -->
            </div><!-- / -->
        </div><!-- / -->
    </div><!-- / -->
    {template "content","footer"}